/*
 * 静态路由
 *
 * @Author: 谢力 843926058@qq.com
 * @Date:   2018-11-08 14:08:51
 * @Last Modified by:   谢力
 * @Last Modified time: 2019-11-08 14:08:56
 */
export const staticRoute = {
    path: '/',
    name: 'index',
    meta: {
        auth: false
    },
    redirect: {
        name: 'shareabout'
    },
    component: () =>
        import ('@/views/index'),
    children: [
       
        {
            path: '/middle',
            name: 'middle',
            meta: {
                auth: false
            },
            component: () =>
                import ('@/views/content/middle'),
        },
        {
            path: '/miniProgramJump',
            name: 'miniProgramJump',
            meta: {
                auth: false
            },
            component: () =>
                import ('@/views/content/miniProgramJump'),
        },
        {
            path: '/AppletMiddle',
            name: 'AppletMiddle',
            meta: {
                auth: false
            },
            component: () =>
                import ('@/views/content/AppletMiddle'),
        },
        {
            path: '/login',
            name: 'login',
            meta: {
                discache: true
            },
            component: () =>
                import ('@/views/public/login')
        },
        {
            path: '/findpwd',
            name: 'findpwd',
            meta: {
                discache: true
            },
            component: () =>
                import ('@/views/public/findpwd')
        },
        {
            path: '/register',
            name: 'register',
            meta: {
                discache: true
            },
            component: () =>
                import ('@/views/public/register')
        }
    ]
};
export const errorRoute = [{
    path: '*',
    redirect: {
        name: 'index'
    }
}];
export const screenRoute = [
];
export const shareRoute = [
    {
        path: '/shareabout',
        name: 'shareabout',
        meta: {
            auth: false
        },
        component: () =>
            import ('@/views/content/share/about'),
    },
    {
        path: '/shareclassic',
        name: 'shareclassic',
        meta: {
            auth: false
        },
        component: () =>
            import ('@/views/content/share/classic'),
    },
    {
        path: '/privacy',
        name: 'privacy',
        meta: {
            auth: false
        },
        component: () =>
            import ('@/views/content/privacy/index'),
    },
    {
        path: '/service',
        name: 'service',
        meta: {
            auth: false
        },
        component: () =>
            import ('@/views/content/privacy/service'),
    }
];